package com.csii.activiti.server.core.config;

import com.csii.activiti.server.abstraction.service.optional.ActCallbackService;
import com.csii.activiti.server.core.service.impl.ActCallbackServiceImpl;
import org.springframework.boot.autoconfigure.condition.ConditionalOnMissingBean;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

@Configuration
public class SystemConfig {

    @Bean
    @ConditionalOnMissingBean
    public ActCallbackService actCallbackServiceImpl(){
        return new ActCallbackServiceImpl();
    }
}
